import request from '@/utils/request'


export function getAttachmentList(query) {
  return request({
    url: '/attachment/getList',
    method: 'get',
    params: query
  })
}
export function getSystemConfigTab() {
  return request({
    url: '/systemConfig/getSystemConfigTab',
    method: 'get'
  })
}
export function onSubmit(data) {
  return request({
    url: '/systemConfig/onSubmit',
    method: 'post',
    data
  })
}

export function getLoginLogList(query) {
  return request({
    url: 'backend_system_login_log',
    method: 'post',
    params: query
  })
}
export function getRegionList(data) {
  return request({
    url: 'get_region',
    method: 'post',
    data
  })
}
